const modules: any = import.meta.glob('./*.vue', { eager: true })

export default {
  install(app: any) {
    for (const path in modules) {
      const cname = modules[path].default.__name
      app.component(cname, modules[path].default)
    }
  },
}
